<!DOCTYPE html>
<html lang="zh">
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>工单列表</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>

    <link rel="stylesheet" href="/css/skin.css">
    <link rel="stylesheet" href="/css/contactManager/contactForm.css">
    <link rel="stylesheet" href="/css/tableAll.css">
</head>
<body>
<div class="container-fluid">
    <div class="card">
        <div class="card-header">
            <h1>工单列表</h1>
        </div>
        <div class="card-body">
            <div class="row content-action">
                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
                    <!--全部 本周 本月-->
                    <div class="time-search pull-left">
                        <input type="hidden" id="dateType" name="dateType"/>
                        <div class="all active-second" onclick="selectTime('all')">全部</div>
                        <div class="week" onclick="selectTime('week')">本周</div>
                        <div class="month" onclick="selectTime('month')">本月</div>
                        <div class="me" onclick="selectTime('me')">我的</div>
                    </div>
                </div>
                <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
                    <div class="pull-right">
                        <input class="form-control" type="text" placeholder="请输入所有人"
                               id="userName" name="userName" style="width: 180px; float: left;margin-right:10px; ">
                        <input class="form-control" type="text" placeholder="请输入工单号"
                               id="workOrderNumber" name="workOrderNumber" style="width: 180px; float: left;">

                        <div class="min-search pull-left" style="margin-left: 12px;">
                            <input class="form-control" type="text" placeholder="请输入工单标题"
                                   id="workOrderTitle" name="workOrderTitle">
                            <button class="btn btn-primary" type="button" id="searchTwo"
                                    onclick="searchWorkOrderList()">
                                <i class="mdi mdi-magnify"></i><span>搜索</span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            <table id="workOrderList" class="contactList"></table>
        </div>
    </div>
</div>


<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" id="addDemandAnalysisModel">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 class="modal-title">工单回复</h4>
            </div>
            <div class="modal-body">
                <div class="follow">
                    <textarea placeholder="请输入回复信息" class="form-control" id="followContent"></textarea>
                    <div class="btn-box">
                        <button type="button" class="btn btn-primary btn-sm" id="publishBtn" onclick="publish(this);">回复</button>
                    </div>
                </div>
                <div id="followList"></div>
                <div class="loading-more"><span>点击加载更多</span></div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/city.js"></script>
<script src="/js/crm/common/common.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/workOrderManager/workOrderForm.js"></script>
<!--<script src="/js/crm/workOrderManager/user/UserWorkOrderForm.js"></script>-->
</html>